package com.cskaoyan.service;


import com.cskaoyan.bean.Admin;
import com.cskaoyan.vo.AdminVo;
import com.cskaoyan.vo.PermissionsVo;


public interface AdminService {
     AdminVo list(Integer page, Integer limit,String sort,String order);
     AdminVo list(Integer page, Integer limit,String sort,String order,String username);
     void update(Admin admin);

     void delete(Admin   admin);

     Admin create(Admin admin);

    PermissionsVo permissions();

    boolean insertLogin(String ip);
}
